package com.lottery.system.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author: xiaoxie
 * create: 2024-09-02 21:16
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.param
 * description: 用户注册的参数
 */
@Data
public class UserRegisterParam {
    //用户名
    @NotBlank(message = "用户名不能为空")
    private String userName;
    //密码
    private String password;
    //重复密码
    private String rePassword;
    //电话号码
    @NotBlank(message = "电话号码不能为空")
    private String phoneNumber;
    //邮箱
    @NotBlank(message = "邮箱不能为空")
    private String email;
    //身份信息
    @NotBlank(message = "身份信息不能为空")
    private String identify;
}
